{% extends 'base.html' %}

{% block content %}
    <div class="container">
        <table class="table table-striped mb-4">
            <thead class="thead-inverse">
            <tr>
                <th>值班日期</th>
                <th>安排值班人</th>
                <th>实际值班人</th>
            </tr>
            </thead>
            <tbody>
            {% for schedule in schedule_by_month %}
                <tr>
                    <td>{{ schedule.duty_date }}</td>
                    <td>{{ schedule.arrange_duty_person.name }}</td>
                    <td>{{ lablog.actual_duty_person.name }}</td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    </div>
{% endblock %}
